<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //字符串的新声明方式：模板字符串
        let str = `字符串`;
        console.log(str,typeof str);

        //模板字符串允许换行写法，原来的String不支持
        let str2 = `<ul>
                <li>ArimaMisaki</li>
                <li>错过</li>
                <li>了你</li>
            </ul>`
        console.log(str2);

        //变量拼接
        let lovest = 'ArimaMisaki';
        let out = `${lovest}好想你`;
        console.log(out);
    </script>
</body>
</html>